import Layout from '../layout/index.vue';

const notes = {
  path: '/notes',
  name: 'Notes',
  component: Layout,
  children: [
    // 笔记 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
    {
      path: 'array',
      name: 'Array',
      component: () => import('@/views/Notes/Array/index.vue'),
    },
    {
      path: 'string',
      name: 'String',
      component: () => import('@/views/Notes/String/index.vue'),
    },
    {
      path: 'math',
      name: 'Math',
      component: () => import('@/views/Notes/Math/index.vue'),
    },
    {
      path: 'uniappWebSocket',
      name: 'UniappWebSocket',
      component: () => import('@/views/Notes/UniappWebSocket/index.vue'),
    },
    {
      path: 'pcWebSocket',
      name: 'PcWebSocket',
      component: () => import('@/views/Notes/PcWebSocket/index.vue'),
    },
    {
      path: 'nginxVue',
      name: 'NginxVue',
      component: () => import('@/views/Notes/NginxVue/index.vue'),
    },
    {
      path: 'NPM',
      name: 'NPM',
      component: () => import('@/views/Notes/NPM/index.vue'),
    },
    {
      path: 'NVM',
      name: 'NVM',
      component: () => import('@/views/Notes/NVM/index.vue'),
    },
  ]
}

export default notes;